package com.white.shm.controller;


import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 *
 *
 * @title VueController.java
 * @since 2019/12/15 00:21
 * @author White
 * @version 1.0
 */
@RestController
@RequestMapping("/vue")
@CrossOrigin("http://localhost")
public class VueController {


    @GetMapping("/get")
    public String test() {
        return "Hello World!";
    }

}
